package com.biomatch.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.biomatch.domain.Role;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface RoleMapper extends BaseMapper<Role> {

    Role selectOneByName(String name);

    Role selectOneNotCodeIsName(String roleid, String name);

    Role getRoleByUserCode(String userCode);
}